import pygame,sys
pygame.init()

dots=[[1,1],[1,100],[1,200],[1,300],[1,400],[1,500],[1,599],[100,1],[100,100],[100,200]
,[100,300],[100,400],[100,500],[100,599],[200,1],[200,100],[200,200]
,[200,300],[200,400],[200,500],[200,599],[300,1],[300,100],[300,200]
,[300,300],[300,400],[300,500],[300,599],[400,1],[400,100],[400,200]
,[400,300],[400,400],[400,500],[400,599],[500,1],[500,100],[500,200]
,[500,300],[500,400],[500,500],[500,599],[599,1],[599,100],[599,200]
,[599,300],[599,400],[599,500],[599,599],[599,1]]

screen=pygame.display.set_mode([600,600])
screen.fill([255,255,255])
pygame.draw.lines(screen,[255,0,0],True,dots,2)
pygame.display.flip()
running=True
while running:
    for event in pygame.event.get():
        if event.type==pygame.QUIT:
            running=False
pygame.quit()
